package twoD.hofem.Q;

import inf.jlinalg.Vector2D;

/**
 * Node objects represents nodes of the finite element mesh
 * 
 * @author Team 4
 */
public class Node extends MeshPart {

	private Vector2D position_;

	public Node(double x1, double x2) {
		position_ = new Vector2D(x1, x2);
	}

	public int countModes() {
		return 1;
	}

	protected int[][] getAllDofNumbers() {
		return new int[][] { getDofNumbers() };
	}

	public Vector2D getPosition() {
		return position_;
	}
}
